package com.rzjm.exercise.module.service.impl;

import com.rzjm.exercise.common.base.service.impl.BaseServiceImpl;
import com.rzjm.exercise.module.dao.FireWorkDao;
import com.rzjm.exercise.module.domain.FireWork;
import com.rzjm.exercise.module.service.FireWorkService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

@Service
public class FireWorkServiceImpl extends BaseServiceImpl<FireWorkDao, FireWork> implements FireWorkService {

    @Resource
    FireWorkDao fireWorkDao;

    @Override
    public Long getFireWorkCumulativeTime(Map<String, Object> map) {
        return fireWorkDao.getFireWorkCumulativeTime(map);
    }

    @Override
    public Long getFireWorkCount(Map<String, Object> map) {
        return fireWorkDao.getFireWorkCount(map);
    }
}
